package cn.edu.glut.user.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.edu.glut.entity.Secretary;

public interface SecretaryService {

	int save(Secretary s);

	void delete(String id);

	int update(Secretary s);

	Secretary findById(String id);

	Page<Secretary> list(Pageable pageable, String majorId);

	void deleteAll();

	Secretary findByUsername(String username);
	
}
